package com.sky.mapper;

import com.sky.entity.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShoppingMapper {
    public void update(ShoppingCart shoppingCart);

    ShoppingCart select(ShoppingCart shoppingCart);

    void insert(ShoppingCart shoppingCart);

    List<ShoppingCart> checkShoppingCart(Long userId);

    void delete(ShoppingCart select);

    void clean(Long userId);
}
